import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class MiddleGridItem extends StatefulWidget {
  final int itemIndex;

  MiddleGridItem({this.itemIndex});

  @override
  _MiddleGridItemState createState() => _MiddleGridItemState();
}

class _MiddleGridItemState extends State<MiddleGridItem> {
  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      child: Column(
        children: <Widget>[
          Image.network(
            "https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=4018557288,1217151095&fm=26&gp=0"
            ".jpg",
            height: 100.h,
            width: 100.w,
            fit: BoxFit.cover,
          ),
          SizedBox(
            height: 8.h,
          ),
          Text('二手售盘'),
        ],
      ),
    );
  }
}
